All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Bundle

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Bundle

public class Bundle
extends NativeObject
This class wraps the Objective-C class NSBundle.


Constructor Index

 o Bundle()
This default constructor is equivalent to Objective-C's [[NSBundle alloc] init].
 o Bundle(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Bundle(String)
This constructor has the same effect as calling - initWithPath: on a newly allocated object.

Method Index

 o allBundles()
A wrapper for the + allBundles Objective-C class method.
 o allFrameworks()
A wrapper for the + allFrameworks Objective-C class method.
 o bundlePath()
A wrapper for the - bundlePath Objective-C instance method.
 o bundleWithPath(String)
A wrapper for the + bundleWithPath: Objective-C class method.
 o infoDictionary()
A wrapper for the - infoDictionary Objective-C instance method.
 o load()
A wrapper for the - load Objective-C instance method.
 o localizedString(String)
 o localizedString(String, String)
A wrapper for the + localizedString:: Objective-C class method.
 o localizedStringForKey(String, String, String)
A wrapper for the - localizedStringForKey:value:table: Objective-C instance method.
 o localizedStringFromTable(String, String, String)
A wrapper for the + localizedStringFromTable::: Objective-C class method.
 o localizedStringFromTableInBundle(String, String, Bundle, String)
A wrapper for the + localizedStringFromTableInBundle:::: Objective-C class method.
 o mainBundle()
A wrapper for the + mainBundle Objective-C class method.
 o pathForGlobalResourceOfTypeInDirectory(String, String, String)
A wrapper for the + pathForResource:ofType:inDirectory: Objective-C class method.
 o pathForResourceOfType(String, String)
A wrapper for the - pathForResource:ofType: Objective-C instance method.
 o pathForResourceOfTypeInDirectory(String, String, String)
A wrapper for the - pathForResource:ofType:inDirectory: Objective-C instance method.
 o pathsForResourcesOfTypeInDirectory(String, String)
A wrapper for the - pathsForResourcesOfType:inDirectory: Objective-C instance method.
 o resourcePath()
A wrapper for the - resourcePath Objective-C instance method.

Constructors

 o Bundle
 protected Bundle(boolean shouldAllocate,
                  int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Bundle
 public Bundle()
This default constructor is equivalent to Objective-C's [[NSBundle alloc] init].

 o Bundle
 public Bundle(String path)
This constructor has the same effect as calling - initWithPath: on a newly allocated object.

Methods

 o mainBundle
 public static native Bundle mainBundle()
A wrapper for the + mainBundle Objective-C class method.

 o bundleWithPath
 public static native Bundle bundleWithPath(String path)
A wrapper for the + bundleWithPath: Objective-C class method.

 o allBundles
 public static native Array allBundles()
A wrapper for the + allBundles Objective-C class method.

 o allFrameworks
 public static native Array allFrameworks()
A wrapper for the + allFrameworks Objective-C class method.

 o load
 public native boolean load()
A wrapper for the - load Objective-C instance method.

 o bundlePath
 public native String bundlePath()
A wrapper for the - bundlePath Objective-C instance method.

 o resourcePath
 public native String resourcePath()
A wrapper for the - resourcePath Objective-C instance method.

 o pathForGlobalResourceOfTypeInDirectory
 public static native String pathForGlobalResourceOfTypeInDirectory(String name,
                                                                    String ext,
                                                                    String path)
A wrapper for the + pathForResource:ofType:inDirectory: Objective-C class method.

 o pathForResourceOfType
 public native String pathForResourceOfType(String name,
                                            String ext)
A wrapper for the - pathForResource:ofType: Objective-C instance method.

 o pathForResourceOfTypeInDirectory
 public native String pathForResourceOfTypeInDirectory(String name,
                                                       String ext,
                                                       String subpath)
A wrapper for the - pathForResource:ofType:inDirectory: Objective-C instance method.

 o pathsForResourcesOfTypeInDirectory
 public native Array pathsForResourcesOfTypeInDirectory(String ext,
                                                        String subpath)
A wrapper for the - pathsForResourcesOfType:inDirectory: Objective-C instance method.

 o localizedStringForKey
 public native String localizedStringForKey(String key,
                                            String value,
                                            String tableName)
A wrapper for the - localizedStringForKey:value:table: Objective-C instance method.

 o infoDictionary
 public native Dictionary infoDictionary()
A wrapper for the - infoDictionary Objective-C instance method.

 o localizedString
 public static native String localizedString(String key,
                                             String comment)
A wrapper for the + localizedString:: Objective-C class method.

 o localizedStringFromTable
 public static native String localizedStringFromTable(String key,
                                                      String table,
                                                      String comment)
A wrapper for the + localizedStringFromTable::: Objective-C class method.

 o localizedStringFromTableInBundle
 public static native String localizedStringFromTableInBundle(String key,
                                                              String table,
                                                              Bundle bundle,
                                                              String comment)
A wrapper for the + localizedStringFromTableInBundle:::: Objective-C class method.

 o localizedString
 public static String localizedString(String key)

All Packages  Class Hierarchy  This Package  Previous  Next  Index